package com.beiding.jsonanalyzer.flow.branchevents;

public class FlowEnd {

    private String msg;

    private Exception exception;

    public FlowEnd(String msg, Exception exception) {
        this.msg = msg;
        this.exception = exception;
    }

    public boolean isError() {
        return exception!=null;
    }


    public String getMsg() {
        return msg;
    }

    public Exception getException() {
        return exception;
    }
}
